﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Author
/// </summary>
public class Author
{
    public int Id { get; set; }
    public string AuthorName { get; set; }

    public Author()
    {
        //
        // TODO: Add constructor logic here
        //
    }

    public static List<Author> GetAllAuthors()
    {
        DBHelper dbhelper = new DBHelper();
        return dbhelper.GetAllAuthors();
    }

}